* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html,body {
    display: flex;
    display: -webkit-box;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
    overflow: hidden;
}
:focus-visible,:focus{
    outline: none !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    display: none;
}

button, input, select, textarea {
    border: none;
    outline: none;
    box-shadow: none;
}
li {
    list-style: none;
}

#charts{
    background-color: var(--theme-bg-content);
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 100%;

}

.arco-layout-sider-light {
    background: transparent!important;
}

.arco-layout-content{
    min-height: calc(100vh - 112px);
    background: transparent!important;
}

.arco-table-hover .arco-table-tr-drag .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right), .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right){
    background-color: var(--theme-10)!important;
}

.arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-left::before, .arco-table-hover .arco-table-tr-drag .arco-table-td.arco-table-col-fixed-right::before, .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-left::before, .arco-table-hover:not(.arco-table-dragging) .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover .arco-table-td.arco-table-col-fixed-right::before {
    background-color: var(--theme-10)!important;
}

.arco-dropdown {
    padding: 0!important;
    border: none!important;
    background-color: var(--theme-bg)!important;
}

  .arco-icon-hover {
    color: var(--theme-primary);
  }
  .arco-icon-hover:hover::before {
    background: none!important;
  }

/* 抽屉按钮样式 */

.arco-drawer {
    color: var(--color-text-4);
    background-color: var(--theme-bg-content)!important;
    .arco-drawer-header {
        border-bottom: var(--theme-bg-light) 1px solid;
        .arco-drawer-title, .arco-drawer-close-btn {
            color: var(--theme-primary);
        }
    }
    .arco-drawer-body {
        .arco-descriptions {
            .arco-descriptions-item-label,.arco-descriptions-item-value {
                color: var(--theme-1);
            }
        }

        .arco-descriptions-table {
            margin-top: 16px;
        }

        .arco-descriptions-size-medium {
            .arco-descriptions-item-label-block,
            .arco-descriptions-item-value-block {
                padding: 4px 8px!important;
            }
            .arco-descriptions-item-label-block {
                text-align: center!important;
                background-color: var(--theme-primary);
            }
        }

        .arco-divider-horizontal {
            margin: 36px auto;
            border-color: var(--theme-primary);
            .arco-divider-text {
                color: var(--color-text-4);
                background: var(--theme-primary);
            }
        }
    }
    .arco-drawer-footer {
      border-top: var(--theme-bg) 1px solid;
      .arco-btn:hover {
        color: var(--color-text-4);
        background-color: var(--theme-8)!important;
      }
      .arco-btn-secondary {
        color: var(--color-text-4);
        background-color: var(--theme-bg-light)!important;
      }
    }
}

.arco-btn-primary, .arco-btn-primary[type=button], .arco-btn-primary[type=submit] {
    background-color: var(--theme-primary)!important;
    border-color: var(--theme-primary);
    color: var(--color-white);
  }
  
  .arco-btn-primary:hover, .arco-btn-primary[type=button]:hover, .arco-btn-primary[type=submit]:hover {
    background-color: var(--theme-primary-hover)!important;
  }

  .arco-table-pagination .arco-pagination .arco-pagination-item-active, .arco-pagination-item-active:hover {
    color: var(--theme-1);
    background-color: var(--theme-6);
}

.arco-table-element {
    min-width: 100%!important;
    width: max-content!important;
    
    .arco-table-th,.arco-table-td {
        color: var(--theme-1);
        background-color: var(--theme-bg-light);
        border-bottom: 1px solid black!important;
    }
    
}

.arco-modal {
  background-color: var(--theme-bg-content)!important;
  .arco-modal-header {
    .arco-modal-title {
      color: var(--theme-primary)!important;
    }
  }
  .arco-modal-body {
    color: var(--color-white);
  }
  .arco-modal-footer {
    text-align: right!important;
    .arco-btn:hover {
      color: var(--color-text-4)!important;
      background-color: var(--theme-8)!important;
    }
    .arco-btn-secondary {
      color: var(--color-text-4)!important;
      background-color: var(--theme-bg-light)!important;
    }
  }
}

.arco-form {
  .arco-form-item-label-col>.arco-form-item-label{
    color: var(--color-text-3);
  }

  .arco-input-wrapper, .arco-textarea-wrapper {
    background-color: var(--theme-bg-light)!important;
    color: var(--color-text-3)!important;
  }

  .arco-input-wrapper:hover,
  .arco-input-wrapper:focus-within,
  .arco-textarea-wrapper:hover,
  .arco-textarea-wrapper:focus-within{
    border-color: var(--theme-8)!important;
  }

  .arco-input-wrapper.arco-input-disabled,
  .arco-textarea-wrapper.arco-textarea-disabled {
    border: none;
  }

}

.arco-overlay-notification {
  .arco-notification {
    padding-right: 40px!important;
    width: auto!important;
    z-index: 10001 !important;
    background-color: var(--theme-bg-light)!important;
    border: none!important;

    .arco-notification-title {
      color: var(--theme-primary)!important;
    }

    .download-info {
      margin-top: 16px;
      display: flex;
      justify-content: space-between;
      color: var(--theme-primary)!important;
      font-size: 12px;
    }
    .arco-notification-content {
      color: var(--theme-primary)!important;
      padding: 3px 0;
    }

  }
}


.arco-popconfirm-popup-content {
    color: var(--color-white)!important;
    background-color: var(--theme-bg-light)!important;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.9)!important;
    border: none!important;

    .arco-popconfirm-body {
        color: var(--theme-primary)!important;
    }
}
.arco-popconfirm-popup-arrow {
    background-color: var(--theme-bg-light)!important;
    border: none!important;
}

.arco-space {
  .arco-space-item {
    .arco-tag {
      cursor: pointer;
      background-color: var(--theme-10);
      color: var(--theme-primary);
      height: 31px;
      transition: all 0.3s;
      border-radius: 5px;
      padding: 2px 8px;

      .arco-tag-close-btn {
        margin-left: 8px;
      }

      &:hover,&.app-tag-active {
        background-color: var(--theme-8);
        color: var(--color-white);
        .arco-tag-close-btn {
          color: var(--color-white)!important;
        }
      }

    }
  }

}
